import RockerView from "./ui/RockerView";
import LevelMainView from "./ui/LevelMainView";

export enum GameState{
    Idle,
    Ready,
    Being,
    Failded,
    DestArrive,
    Finished,
}

export enum BufType{
    None,
    Magnet,
    SpeedUp,
    Angel
}

export enum LayerIndex{
    Brick = 10,
    Ground = 11,
    Barrier = 13,
    Player = 15,
}

export default class GameHandler {
    public static rocker: RockerView;
    public static levelmain:LevelMainView;
    public static HandStrickNum:number;
    public static Player:Laya.Sprite3D;
    public static FollowCamera:Laya.Camera;
    public static GameScene:Laya.Scene3D;
    public static CurLevelNode:Laya.Sprite3D;
    public static CollectDiamondDistance:number;
    public static MagnetCollectDistance:number;
    public static BufTrigDistance:number=1.5;
    public static CollectedDiamondNum:number;

    public static State: GameState;//游戏状态
    public static DiamondDouble:number;
    public static HandStrickScale:Laya.Vector3;
    public static GroundStrickScale:Laya.Vector3;

    public static BufContinueTime:number = 5000;
    public static PalyerBuf:{};

    public static TrigEnemyChaseDistance:number = 5;
}